﻿using System;
using System.Collections.Generic;
using System.Text;
using Abp.Application.Services.Dto;
namespace SW.YUNCMS.Dtos
{
    /// <summary>
    /// 分页排序请求Dto
    /// </summary>
    public class PagedAndSortedInputDto : PagedInputDto,ISortedResultRequest
    {
        public PagedAndSortedInputDto()
        {   
            if(string.IsNullOrEmpty(Sorting))
            Sorting ="Id";
        }

        /// <summary>
        /// 排序字段
        /// </summary>
        public string Sorting { get; set; }
    }
}
